﻿<%template _header%>
<%namespace YouHP.Model%>
<%namespace YouHP.Model.Group%>
<%namespace YouHP.Utility%>

	
	     <div class="mainbox">
			<!--<h3>论坛热门标签</h3>
			-->
		 <div style="padding:20;">
			<table width="700">
            <%csharp%>int i=0;<%/csharp%>
            <%csharp%>foreach(TagInfo item in taglist) { <%/csharp%>
            <%csharp%>TempUrl = "/Tag.aspx?tagname=" + item.TagName;<%/csharp%>
            <%csharp%>if(0==(i%8)){<%/csharp%>
            <tr><td align=center><a href ="{this.GetUrl(TempUrl)}"  target="_blank">{item.TagName}({item.TagCount})</a>&nbsp;&nbsp;</td>
            <%csharp%>}<%/csharp%>
            <%csharp%>else{<%/csharp%>
            <td align=center><a href ="{this.GetUrl(TempUrl)}"  target="_blank">{item.TagName}({item.TagCount})</a>&nbsp;&nbsp;</td>            
            <%csharp%>}<%/csharp%>
            <%csharp%>if(7==(i%8)){<%/csharp%>
            </tr>
            <%csharp%>}<%/csharp%>  
            <%csharp%>i++;<%/csharp%>     
            <%csharp%>}<%/csharp%>
            <%csharp%>if(0!=i%8){<%/csharp%>
            </tr>
            <%csharp%>}<%/csharp%>
            </table>
            </div>
            <!--
			<ul id="forumhottags" class="taglist">
			 <%csharp%>foreach(TagInfo item in taglist) { <%/csharp%>
					<%csharp%>TempUrl = "/Tag.aspx?tagname=" + item.TagName;<%/csharp%>
					<li><a 
					href ="{this.GetUrl(TempUrl)}" 
					title="{item.TagCount}">{item.TagName}</a></li>
			<%csharp%>}<%/csharp%>
			</ul>
			-->
			
		</div>

<%template _footer%>		
